﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Excel = Microsoft.Office.Interop.Excel;
using System.Reflection;

namespace ExcelMgr
{
    class ExcelLibrary
    {
        Excel.Application m_excelMain = null;
        Excel.Workbook m_wbMain = null;
        public ExcelLibrary()
        {
            m_excelMain = new Excel.ApplicationClass();
        }
        public bool Open(string strFileName)
        {
            m_wbMain = m_excelMain.Workbooks.Open(strFileName, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
            return true;
        }
    }
}
